package com.gemcoder.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.io.File;
import java.util.Map;
import javax.annotation.Resource;
import com.gemcoder.system.bo.Result;
import com.gemcoder.system.service.GreencontributionvalueService;
import java.util.Map;

@Controller
@RequestMapping("/Greencontributionvalue")
public class GreencontributionvalueController{

  @Resource private GreencontributionvalueService GreencontributionvalueService;

  

	@RequestMapping(value = "/addGreenValueContribution")
	@ResponseBody
	public Result addGreenValueContribution(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return GreencontributionvalueService.addGreenValueContribution(paramMap);
	}
   

	@RequestMapping(value = "/getGreenValueContributions")
	@ResponseBody
	public Result getGreenValueContributions(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return GreencontributionvalueService.getGreenValueContributions(paramMap);
	}
   

	@RequestMapping(value = "/deleteGreenValueContribution")
	@ResponseBody
	public Result deleteGreenValueContribution(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return GreencontributionvalueService.deleteGreenValueContribution(paramMap);
	}
   

	@RequestMapping(value = "/updateGreenValueContribution")
	@ResponseBody
	public Result updateGreenValueContribution(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return GreencontributionvalueService.updateGreenValueContribution(paramMap);
	}
   

}
